/*
 * @lc app=leetcode.cn id=151 lang=swift
 *
 * [151] 翻转字符串里的单词
 */

// @lc code=start
class Solution {
    func reverseWords(_ s: String) -> String {
        return String(s.split(separator: " ").reversed().joined(separator: " "))
    }
}
// @lc code=end

